#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "ui_mainwindow.h"

#include <QMainWindow>

class MainWindowRequete : public QMainWindow, public Ui::MainWindow
{
    Q_OBJECT
    public:
        MainWindowRequete ();
        ~MainWindowRequete ();
        void setInformations(const QString & name, const QString & firstname, const QString & guid, const QString & user);
        void runAnnualResearchWidget();
    private slots:
        void runRequete();
        void runSearchinblobs();
        void runAnnualResearch();
        
    private:
        void createMenus();
        void createActions();
        void connectActions();
        QMenu *m_file;
        QMenu *m_actions;
        QAction *m_fermer;
        QAction *m_requete;
        QAction *m_searchinblobs;
        QAction *m_ficheannuelle;
        QString m_name;
        QString m_firstname;
        QString m_guid;
        QString m_user;
};

#endif

